package com.googlecode.lookie.core.runtime;

import org.osgi.framework.Bundle;
import org.osgi.framework.BundleActivator;
import org.osgi.framework.BundleContext;

public abstract class Plugin
    implements BundleActivator
{

    private Bundle bundle;

    public Bundle getBundle()
    {
        return bundle;
    }

    public void start( BundleContext context )
        throws Exception
    {
        bundle = context.getBundle();
    }

    public void stop( BundleContext context )
        throws Exception
    {
    }

}
